package action;

import java.util.Map;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;


@SuppressWarnings("serial")
public class LogoutAction extends ActionSupport{
	@SuppressWarnings("unchecked")
	public String excute(){		
		Map session = ActionContext.getContext().getSession(); 
		session.put("userRole", null);
		session.put("userId", null);
		session.put("userfullname", null);
		return SUCCESS;
	}
}
